﻿using System.Collections.Generic;
using HouseKeeperCore.Elemental;

namespace BillSplitter
{
    /// <summary>
    ///  A usage type that charges evenly over time
    /// </summary>
    public class EvenChargeType : IUsageType
    {
        #region Properties

        /// <summary>
        ///  All the usage instances (using activities) that are of this type
        /// </summary>
        public IEnumerable<IUsage> Instances { get; private set; }

        #endregion

        #region Constructors

        /// <summary>
        ///  Instantiates and initialises an even charge type
        /// </summary>
        public EvenChargeType()
        {
            Instances = new List<IUsage>();
        }

        #endregion
    }
}
